package com.yjt.admin.system.entity;

import com.yjt.common.entity.CommonEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 员工岗位表
 * </p>
 *
 * @author zzp
 * @since 2021-10-11
 */
@Data
@Builder
@Accessors(chain = true)
@TableName("b_emp_post")
@ApiModel(value="EmpPost对象", description="员工岗位表")
public class EmpPost implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工岗位主键")
    @TableId(value = "emply_post_id", type = IdType.ASSIGN_ID)
    private String emplyPostId;

    @ApiModelProperty(value = "员工id")
    private String emplyId;

    @ApiModelProperty(value = "岗位id")
    private String postId;


}
